﻿#region

using System;
using DomainModel.Domain.Model.MessageTypeModel;
using MessageTypeDescriber.Xml;
using NUnit.Framework;

#endregion

namespace DomainModel.Tests.Domain.Model.MessageTypeModel
{
    [TestFixture]
    public class can_create_message_type
    {
        [Test]
        public void test()
        {
            MessageTypeId messageTypeId = new MessageTypeId(1);

            Type type = typeof (can_create_message_type);

            TypeFullDescription typeDescription = new TypeFullDescription(type);

            string hash = "hash";

            var messageType = new MessageType(messageTypeId)
                                  {
                                      Hash = hash,
                                      Name = type.FullName,
                                      TypeDescription = {TypeFullDescription = typeDescription}
                                  };
        }
    }
}